Skip to content

Commit

Permalink
fix: 修复 metadata 赋值 (#1155)
Browse files Browse the repository at this point in the history
  • Loading branch information
ZhengQinyu committed Aug 22, 2024
1 parent 5c5d1d1 commit 1fe23b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/models/base_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ def __init__(
self.logit_bias = self.default_logit_bias
self.user_identifier = user

self.metadata = {}
self.metadata = config["metadata"]

def get_answer_stream_iter(self):
"""Implement stream prediction.
Expand Down

0 comments on commit 1fe23b7

Please sign in to comment.